import pymysql

pymysql.install_as_MySQLdb()

IS_PRODUCTION_ENV = False

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.mysql",
        "NAME": "itpay",
        "USER": "root",
        "PASSWORD": "",
        "OPTIONS": {"charset": "utf8"},
    }
}

# IM配置
# IM_API_KEY = "wpqg4c2uxc4mwk5lkpo37cp0ns48wgp3"
# IM_APP_ID = "0002"
# IM_HOST = "http://127.0.0.1:8080/"
# 图片
# IMG_HOST = "http://image.barchain.net/"

# 导出报表数据最大条数
# REPORT_MAX_NUM = 5000

REDIS = {"host": "127.0.0.1", "port": 6379}

# 数据平台地址
# MAESTRO_HOST = "http://3.1.242.202:9000"
# MAESTRO_KEY = "245d648e9ea8cc006ac828335a7af8d9"

# 报表文件路径
EXPORT_PATH = "/tmp/export_file/"
# TELEGRAM_GROUP_ID = -355904559

# 内部代理id
# OUR_AGENCY_IDS = [10]

# 配置中心
GCONF = {
    "server_host": "http://3.1.171.240:8881/",
    "app_key": "BCgpMhkkVbf3tcvPp9Vy2A48NdSQ4VacahdErhmw",
    "app_secret": "-icgSuCeD0e874oZeKHCrq3nmsi1IYxe8YZyA6Fw",
    "conf_data_dir": "/tmp/itpay_new/",
}
